Skip to content

GH Issue 1871: Keep a message's member list when a write doesn't supply one - #8312

Open
labkey-jeckels wants to merge 4 commits into
developfrom
fb_di_announcement_member_list_1871
Open

labkey-jeckels wants to merge 4 commits into
developfrom
fb_di_announcement_member_list_1871

Conversation

@labkey-jeckels

@labkey-jeckels labkey-jeckels commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Rationale

This PR makes every message board write that doesn't supply a member list keep the existing one, instead of erasing it (GH Issue 1871). Query API updates, query API and service responses, and the HTML update and reply forms on boards with the member-list setting off all cleared the list, so listed users silently stopped getting notifications. An explicitly empty member list still clears it.

Tested with new integration tests (AnnouncementTableTestCase, MemberListRetentionTestCase, and new MemberListTestCase cases), which failed before the fix, plus all registered Announcements integration tests. The Selenium message board tests were not run locally.

Related Pull Requests

None

Changes

  • Query API updates and response inserts without a member list keep the message's list, or for a response the thread's list.
  • The announcement service keeps the list on title/body updates and on responses inserted without a member list.
  • The HTML update and reply forms keep the list when the member-list field isn't posted, which is the case whenever the board's member-list setting is off.
  • Responses that notify nobody, such as Panorama Public notifications, now keep the thread's list instead of wiping it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant